<div id="components-demo">
  <button-counter></button-counter>
</div>

// 创建一个Vue 应用
const app = Vue.createApp({})

// 定义一个名为 nav-manu 的新全局组件
app.component('nav-manu', {
  data() {
    return {
    }
  },
  template: `
    <van-tabbar route>
        <van-tabbar-item replace to="/strategy" icon="home-o">策略</van-tabbar-item>
        <van-tabbar-item replace to="/stock" icon="search">股票</van-tabbar-item>
        <van-tabbar-item replace to="/collect" icon="friends-o">自选</van-tabbar-item>
        <van-tabbar-item replace to="/setting" icon="setting-o">设置</van-tabbar-item>
    </van-tabbar>`
})
app.mount('#components-demo')

